﻿using Common.Data.Extensions;
using CrossSelling.Core.Configuration;
using CrossSelling.Model.Model;

namespace CrossSelling.Core.Data.DBConfig
{
    public class BranchConfiguration : DBConfig<Branch>
    {
        public BranchConfiguration()
            : base(SystemConfiguration.Schema, SystemConfiguration.NamingType, SystemConfiguration.TABLE_PREFIX)
        {
            HasKey(k => new { k.BranchId });

            //relationship
        }
    }
}